Skip to content

feat(standard): a benchmark can run every agent with its web tools off - #521

Merged
aitianshi merged 4 commits into
mainfrom
feat/agent-web-tools-switch
Nov 30, 2026
Merged

aitianshi merged 4 commits into
mainfrom
feat/agent-web-tools-switch

Conversation

@aitianshi

@aitianshi aitianshi commented Nov 30, 2026 •

Copy link
Copy Markdown
Collaborator

What

  • New shared agent option web_tools (default or off), on the agents with a switch for their web tools:
    • Claude Code: off denies WebSearch and WebFetch in its settings. By default it offers both, and Anthropic runs the search.
    • Codex: off writes web_search = "disabled". By default it sends OpenAI's hosted web_search tool.
    • OpenCode: off denies webfetch.
  • An option may say what each value writes into its slot, so one value reads right in each agent's own file.
  • A benchmark's agent_options sets an option for every agent that has it, as its rules require. cli run refuses another value; the builder shows it fixed.
  • Goose and the shell-only agents have no web tool. Not yet switched: JiuwenSwarm (its config can deny its web tools; unchecked here), Codex 0.16.0 (declared, unchecked), DigitalMate.

Before and after

Claude Code's agent page, Options:

Before After
web-agent-before web-agent-after

Builder, Agent step, on HealthAgentBench (#507 sets web_tools: off):

web-builder-hab-settings

Verified

  • Codex over ACP, container backend, stub provider: OpenAI's web_search tool in every request by default, in none with off; the job's config records web_tools: off.
  • Captures with no network: Claude Code names WebSearch and WebFetch by default, never with off; OpenCode's webfetch goes with off.
  • With main merged: backend 3407, routes 862, docs drift 0; test_osworld2_proxy failed once under load and passed alone. One test asserted Codex's exact review line and now lists the option. The new tests fail on main.

Risk

  • writes changes what the vendor reads: each file is checked valid both ways (JSON, TOML).
  • Undo: revert.

Refs #507

Agents

  • Claude Code, Opus 5.5

@aitianshi
aitianshi marked this pull request as ready for review November 30, 2026 17:43
@github-actions

Copy link
Copy Markdown

🟡 PR judge · 5 of 6 yes · #521 ↔ #507

Merge risk 🔴 MAJOR the judge's reading of the diff; app/nullius/standard/contract/definitions.py is in the path of every run
Depth 🔴 EXTREME the deepest path is app/nullius/standard/contract/definitions.py
Question Verdict
Changes do what the issue asks · 1 of 1 criteria ✅ yes
Issue and pull request describe the same change ⚠️ partly
Description matches the diff ✅ yes
Diff stays in scope ✅ yes
Risk named in the description ✅ yes
Before and after shown · 3 images · the diff touches what is visible ✅ yes
Acceptance criteria, 1 of 1 met
# Criterion Verdict
1 Needs #520 (a control's setup limit) and #521 (agents' web tools off for a benchmark) first; until they merge, this dif… ✅ met

The issue has no ## Acceptance list, so it was judged whole.

Checks the script runs itself, 4 of 4 pass
No machine attribution trailer in the commits or the description ✓
New code under app/, docs/, .github/, .agents/ or .claude/ ✓
No Flask import under the backend package ✓
No key-shaped string in the diff ✓

@github-actions github-actions Bot added the needs review Tests pass, no conflict, no verdict on its latest commit label Nov 30, 2026
@aitianshi
aitianshi merged commit c4330fc into main Nov 30, 2026
7 checks passed
@aitianshi
aitianshi deleted the feat/agent-web-tools-switch branch November 30, 2026 17:50
@github-actions github-actions Bot removed the needs review Tests pass, no conflict, no verdict on its latest commit label Dec 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant